﻿using System.ComponentModel;

namespace SmartCity.ProcessEngine.API.ErrorCode
{
    /// <summary>
    /// API返回码
    /// </summary>
    public enum APIResultCode
    {
        [Description("查询成功")]
        SearchSuccess=200,
        [Description("查询失败")]
        SearchFail =201,
        [Description("添加成功")]
        AddSuccess = 300,
        [Description("添加失败")]
        AddFail = 301,
        [Description("修改成功")]
        UpdateSuccess = 400,
        [Description("修改失败")]
        UpdateFail = 401,
        [Description("删除成功")]
        DeleteSuccess = 500,
        [Description("删除失败")]
        DeleteFail = 501,
    }
}
